package com.pai4j.common.exception;

public class StarAuthException extends RuntimeException {

    private Integer code = 40001;
    private Long pathId = 0L;
    private String message = "订阅星球，解锁资源内容";

    public StarAuthException() {
        super();
    }

    public StarAuthException(Long pathId) {
        super();
        this.pathId = pathId;
    }

    public StarAuthException(String msg) {
        super(msg);
    }

    public Integer getCode() {
        return code;
    }

    public Long getPathId() {
        return pathId;
    }

    public String getMessage() {
        return message;
    }
}
